package cn.ecms.service.impl.customerdynamicmanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customerdynamicmanager.DynamicProgressMapper;
import cn.ecms.pojo.DynamicProgress;
import cn.ecms.service.customerdynamicmanager.DynamicProgressService;

@Service
public class DynamicProgressServiceImpl implements DynamicProgressService {
	@Autowired
	private DynamicProgressMapper dynamicProgressMapper;


	@Override
	public int deleteByPrimaryKey(String progressId) {
		return dynamicProgressMapper.deleteByPrimaryKey(progressId);
	}

	@Override
	public int insert(DynamicProgress record) {
		return dynamicProgressMapper.insert(record);
	}

	@Override
	public int insertSelective(DynamicProgress record) {
		return dynamicProgressMapper.insertSelective(record);
	}


	public DynamicProgress selectByPrimaryKey(String progressId) {
		return dynamicProgressMapper.selectByPrimaryKey(progressId);
	}

	@Override
	public int updateByPrimaryKeySelective(DynamicProgress record) {
		return dynamicProgressMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(DynamicProgress record) {
		return dynamicProgressMapper.updateByPrimaryKey(record);
	}


}
